package com.p04.homework;

/**
 * 班级类
 */
public class ClassBean {
    /**
     * 编号
     */
    public int id;
    /**
     * 班级名称
     */
    public String name;
    /**
     * 班级人数
     */
    public int num;

    public ClassBean() {
    }

    public ClassBean(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public ClassBean(int id, int num) {
        this.id = id;
        this.num = num;
    }

    public ClassBean(int id, String name, int num) {
        this(id,name);
        this.num = num;
    }
}
